import service from '@/utils/request'

// 消息-- 列表
export const myMessageList = (data) => {
  return service({
    url: '/center/ws/histories',
    method: 'post',
    data
  })
}

// 消息-- 标记已读
export const myMessageRead = (data) => {
  return service({
    url: '/center/ws/read',
    method: 'post',
    data
  })
}

// 消息--删除
export const myMessageDelete = (data) => {
  return service({
    url: '/center/ws/delete',
    method: 'post',
    data
  })
}
